package com.sky.mapper;

import com.sky.entity.OrderDetail;

import java.util.List;

public interface OrderDetailMapper {
    //要用循环for，所以用xml
    void insertBatch(List<OrderDetail> orderDetailList);

    /**
     * 根据orderid查询订单详细
     * @param orderId
     * @return
     */
    List<OrderDetail> getByOrderId(Long orderId);
}
